package com.sunk.ytmall.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.util.Date;

/**
 * @Author: Sunk 673116067@qq.com
 * @Date: 2018/4/18 14:53
 * @Description:
 */
@TableName("yt_goods")
public class Goods extends ImageBase{
    @TableId("product_id")
    protected Long productId;
    protected String productName;
    protected String subTitle;
    protected String productMsg;
    protected String productRemake;
    protected Long productPrice;
    protected Long productSoldNum;
    protected Date createTime;
    protected Date updateTime;

    @Override
    public String toString() {
        return "Goods{" +
                "productId=" + productId +
                ", productName='" + productName + '\'' +
                ", subTitle='" + subTitle + '\'' +
                ", productMsg='" + productMsg + '\'' +
                ", productRemake='" + productRemake + '\'' +
                ", productImg='" + productImg + '\'' +
                ", productPrice=" + productPrice +
                ", productSoldNum=" + productSoldNum +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getSubTitle() {
        return subTitle;
    }

    public void setSubTitle(String subTitle) {
        this.subTitle = subTitle;
    }

    public String getProductMsg() {
        return productMsg;
    }

    public void setProductMsg(String productMsg) {
        this.productMsg = productMsg;
    }

    public String getProductRemake() {
        return productRemake;
    }

    public void setProductRemake(String productRemake) {
        this.productRemake = productRemake;
    }

    public Long getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(Long productPrice) {
        this.productPrice = productPrice;
    }

    public Long getProductSoldNum() {
        return productSoldNum;
    }

    public void setProductSoldNum(Long productSoldNum) {
        this.productSoldNum = productSoldNum;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
